<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>申请合同</title>
    <include file="Template/head"/>
<body>
<div class="actNav">
    <div class="doRefresh">申请合同</div>
    <a href="javascript:history.go(-1);" class="back"></a>
    <a href="{:U('Index/index')}" class="home"></a>
</div>
<div class="wapper">
    <form method="post" action="">
        <input id="applyContract" type="hidden" value="{:U('Finance/applyContract')}"/>
        <input id="contractList" type="hidden" value="{:U('Finance/index')}"/>
        <input id="contractNum" type="hidden" value="{$userList.max_contract}">
        <input type="hidden" id="code" value="{$Think.session.applyContract}">

        <div class="module agreementApply">
            <div class="item-group clearfix">
                <label class="cols-t">国内合同</label>
                              <span class="num">
                                    <a class="reduce" href="javascript:void(0);">－</a>
                                    <input type="text" class="txt inland numTotal" readonly value="1"
                                           name="inland_count"/>
                                    <a class="add" href="javascript:void(0);">+</a>&nbsp;&nbsp;份
                              </span>
                <span class="tips">(每份{$contractFeeInfo.contract_fee|GetYuanWhole}元)</span>
            </div>
            <div class="item-group clearfix">
                <label class="cols-t">境外合同</label>
                              <span class="num">
                                    <a class="reduce" href="javascript:void(0);">－</a>
                                    <input type="text" class="txt outbound numTotal" readonly value="1"
                                           name="outbound_count"/>
                                    <a class="add" href="javascript:void(0);">+</a>&nbsp;&nbsp;份
                              </span>
                <span class="tips">(每份{$contractFeeInfo.contract_fee|GetYuanWhole}元)</span>
            </div>
            <div class="item-group clearfix">
                <label class="cols-t">单项委托</label>
                              <span class="num">
                                    <a class="reduce" href="javascript:void(0);">－</a>
                                    <input type="text" class="txt peritem numTotal" readonly value="1"
                                           name="peritem_count"/>
                                    <a class="add" href="javascript:void(0);">+</a>&nbsp;&nbsp;份
                              </span>
                <span class="tips">(每份{$contractFeeInfo.contract_fee|GetYuanWhole}元)</span>
            </div>
            <div class="item-group clearfix">
                <label class="cols-t np">索取方式</label>
                <label class="radio-inline">
                    <input type="radio" name="request_method" value="2" checked data-num="1" autocomplete="off">快递
                </label>
                <label class="radio-inline">
                    <input type="radio" name="request_method" value="1" data-num="2" autocomplete="off">自取
                </label>
            </div>
            <div id="kd">
                <div class="item-group clearfix">
                    <label class="cols-t np">索取方式</label>
                    <label class="radio-inline">
                        <input type="radio" name="express_fee" value="3" checked data-num="3" autocomplete="off">到付
                        (货到付款)
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="express_fee" value="4" data-num="4" autocomplete="off">邮寄 (支付{$contractFeeInfo.express_fee|GetYuanWhole}元快递费用)
                    </label>
                </div>
                <div class="item-group clearfix">
                    <label class="cols-t np">邮寄地址</label>
                    <textarea class="form-control" name="addr" rows="3" placeholder="请输入邮寄地址" id="addr"></textarea>
                </div>
                <div class="item-group clearfix">
                    <label class="cols-t">联&nbsp;系&nbsp;人</label>
                    <input type="text" name="name" class="form-control" placeholder="请输入联系人" id="name">
                </div>
                <div class="item-group clearfix">
                    <label class="cols-t">联系电话</label>
                    <input type="number" name="phone" class="form-control" placeholder="请输入联系电话" id="phone">
                </div>
            </div>
            <div id="zq" style="display:none;">
                <div class="item-group clearfix">
                    <label class="cols-t">公司地址</label>
                    <input type="text" class="form-control" value="{$address}" disabled>
                </div>
                <div class="item-group clearfix">
                    <label class="cols-t">联系电话</label>
                    <input type="text" class="form-control" value="{$tel}" disabled>
                </div>
            </div>
            <input type="button" id="doSubmitApplyContract" class="btn btn-primary btn-lg btn-block submit proofAgain"
                   value="提交申请"/>
        </div>
    </form>

    <div class="modal fade popWin bs-example-modal-sm" id="myModalDel" tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">提示</h4>
                </div>
                <div class="modal-body text-center">
                    <p class="tipsBox errorInfo"><i class="warn"></i>请将信息填写完整</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning doSubmit" data-dismiss="modal" aria-label="Close">确认</button>
                    <button type="button" class="btn btn-default doCancel" data-dismiss="modal" aria-label="Close">取消</button>
                </div>
            </div>
        </div>
    </div>

    <div class="modal fade popWin bs-example-modal-sm" id="myModalSuc" tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">提示</h4>
                </div>
                <div class="modal-body text-center">
                    <p class="tipsBox"><i class="suc"></i>申请成功</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning doSubmitApplyContract doSubmit" data-dismiss="modal"
                            aria-label="Close">确认
                    </button>
                    <button type="button" class="btn btn-default doCancel" data-dismiss="modal" aria-label="Close">取消</button>
                </div>
            </div>
        </div>
    </div>
    <footer class="footer">
        <include file="Template/foot"/>
    </footer>
</div>

</body>
</html>
